getNextGUID()

In order to use this add function, the XsltFunctionHelper class must be added as a namespace in the XSLT prolog as noted below.

xmlns:utl="com.adminserver.webservice.helper.XsltFunctionHelper"

The getNextGUID() function will generate a new GUID. For example, the following code will output a newly generated GUID inside the <PolicyGuid> element.

getNextGUID() Function
<xsl:element name="PolicyGuid">
<xsl:value-of select="utl:getNextGUID()"/>
</xsl:element>
Functions can also be used to retrieve current system time and then 
format it properly for insertion into the database.
<xsl:template name="GMT">
<xsl:param name="Offset" select="0" as="xs:integer"/>
<xsl:value-of select="utl:formatDateTime(utl:addMillis (utl:getGmtTimeString (), $Offset))"/>
</xsl:template>